package com.qili.controller;

import java.math.BigDecimal;

/**
 * @author zhaoyongke
 * @date 2021/10/25
 * @description
 */
public class Test {

    public static void main(String[] args) {
        //取费比例
        BigDecimal tz = new BigDecimal("0");

        BigDecimal ht = new BigDecimal("0");
        BigDecimal kk= ht.divide(tz, 8, BigDecimal.ROUND_HALF_UP);
        System.out.println(kk);

        //合同额除投资额保留八位小数 乘一百保留两位小数加上百分号
      //  data.get(i).setQfbl((((ht.divide(tz, 8, BigDecimal.ROUND_HALF_UP).multiply(bai)).setScale(2, BigDecimal.ROUND_HALF_UP)).toString()) + "%");
    }
}
